package cn.cai.pethome.system.service.impl;

import cn.cai.pethome.system.domain.Systemdictionarydetail;
import cn.cai.pethome.system.mapper.SystemdictionarydetailMapper;
import cn.cai.pethome.system.service.ISystemdictionarydetailService;
import cn.cai.pethome.base.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xiaocai
 * @since 2022-09-13
 */
@Service
public class SystemdictionarydetailServiceImpl extends BaseServiceImpl<Systemdictionarydetail> implements ISystemdictionarydetailService {

    @Autowired
    private SystemdictionarydetailMapper systemdictionarydetailMapper;


    /**
     * 查询宠物的颜色和宠物的品种
     * @param sn
     * @return
     */
    @Override
    public List<Systemdictionarydetail> loadBySn(String sn) {

        return systemdictionarydetailMapper.loadBySn(sn);

    }
}
